home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Web-Publishing / HTML-Editoren / CreaText 1.4.4 ƒ / CreaText Help / docs / cc next >
Encoding:
Text File  |  2001-11-12  |  3.8 KB  |  63 lines

  1. <HTML>
  2.     <HEAD><TITLE>The Color chooser</TITLE>
  3.     <META name="Description" content="This page describes the color chooser">
  4.     <META name="Keywords" content="color, colors, hex color, hex value, color chooser">
  5.     </HEAD>
  6.  
  7. <BODY bgcolor="white">
  8.  
  9. <FONT face="Charcoal" size="6">
  10. The Color chooser
  11. </FONT>
  12. <P></P>
  13.  
  14. The color chooser is a nice tool to help you choosing and editing colors in your HTML document.
  15. <P> </P>
  16. <FONT color="#330099" face="Chicago" size="3">
  17. Choosing a color
  18. </FONT><BR> <BR>
  19.  
  20. Since HTML uses the hex system to precisely describe colors, you may find it difficult to enter a color that is different from pure combinations, such as #FF0000 or #AAAAAA. HTML also supports color names, but who can remember names like Lightgoldenroyellow and associate the right color with it? If you use CreaText's color chooser, don't worry about such details.<BR>
  21. First, of course, open it. You can do this by clicking the color chooser button in the main window or choose the menu entry from the Web menu (Command-Option-C). Additionally, every dialog in which you can define one or more colors supports the color chooser. You should see this:<BR>
  22.  
  23. <IMG src="../pics/cc1.gif" width="565" height="321">
  24.  
  25. <BR> <BR>
  26. On the left top, you see the RGB values of the current colors. They represent the three color values (red, green, blue) each color has and instead of the hex system they use the decimal system. To edit them, you can change the values by entering a new number with your keyboard, use the arrows or use the slider. The minimum number for each is 0, and the maximum is 255. That means 256*256*256 (or 256<SUP>3</SUP>) = 16.7 million different colors. That should be enough.<BR>
  27. On the right top, you see the HSV values of the current color. They represent the hue, saturation and value (or brightness) values the color has. Their value is determined by a number between 0 and 1, e.g. 0.123. This is useful when you don't want to change the color but, e.g., have it darker. This color system is adopted from how the human eye sees colors. The RGB system is equal to how the computer displays colors.<BR>
  28. Below this there are another three entries:
  29. <OL>
  30. <LI><B>Color names</B><BR>
  31. This one lists all HTML color names (from 'Aliceblue' to 'Yellowgreen'). When you select a color name, its corresponding RGB, HSV and HTML values as well as the color preview will be shown.</LI>
  32. <LI><B>Apple Color Picker button</B><BR>
  33. When you push this button, the Apple Color Picker will be shown. How this one does look depends on the version of your MacOS. The advantage of the Apple Color Picker is that it can use the option to only choose web-safe colors, which consist of 216 colors which are equal on every computer platform.
  34. </LI>
  35.  
  36. <LI><B>HTML text field</B><BR>
  37. The HTML (or hex) value for the current color is displayed in this field. This is the value the color chooser will insert if you push the Insert button. You can also manually change it.
  38. </LI>
  39.  
  40. </OL>
  41.  
  42. <BR>
  43.  
  44. At the very bottom, you see how the current color will look like. <BR>
  45.  
  46.  
  47. <BR> <BR>
  48. <FONT color="#330099" face="Chicago" size="3">
  49. Editing colors
  50. </FONT><BR> <BR>
  51. There's a nice way you can use the color chooser to edit colors in your document. For example, you have a <<FONT color="blue">BODY</FONT>> tag with the bgcolor set to "Cornflowerblue". Maybe you don't know how this color looks like or you want it darker (or whatever). Use the mouse to select the color in the main window. Then open the color chooser. Now it should look like this:<BR>
  52.  
  53. <IMG src="../pics/cc2.gif" width="565" height="321">
  54.  
  55. <BR> <BR>
  56. As you can see, the color chooser checks if there is some text selected in the main window and tries to analyze it so you can directly edit it. The color chooser understands hex formatted colors and color names, as shown in the example above.
  57.  
  58. <P></P>
  59.  
  60. <!-- Become Who You Are -->
  61.  
  62.      </BODY>
  63. </HTML>